import channels
import xmltv2freevo

ch = channels.Channels()
ch.read(open("/home/nigel/channels.conf"))

xmltv=xmltv2freevo.XMLTV()
xmltv.parse("/tmp/TV.xml")

intersect = filter(ch.has_key, xmltv.values())


